<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>

    </style>

</head>
<body>
    
</body>
<script>
    // 将90度的角度转为弧度
    // 角转弧度的公式为:jiao = 180 / pai * hu
    // 假设pai的值为:3.14


    var jiao = 90; 
    var pai = 3.14;
    var hu = jiao / (180 / pai); //根据角度转弧度公式转换
    console.log(jiao + "度转成弧度是：" + hu);
 </script>
 </html>

</script>
</html>